Optimal. Leaf size=217 \[ -\frac {a^2 \sqrt {c+d x^2}}{7 b^2 (b c-a d) \left (a+b x^2\right )^{7/2}}+\frac {2 a (7 b c-4 a d) \sqrt {c+d x^2}}{35 b^2 (b c-a d)^2 \left (a+b x^2\right )^{5/2}}-\frac {\left (35 b^2 c^2-14 a b c d+3 a^2 d^2\right ) \sqrt {c+d x^2}}{105 b^2 (b c-a d)^3 \left (a+b x^2\right )^{3/2}}+\frac {2 d \left (35 b^2 c^2-14 a b c d+3 a^2 d^2\right ) \sqrt {c+d x^2}}{105 b^2 (b c-a d)^4 \sqrt {a+b x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.18, antiderivative size = 217, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 5, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.192, Rules used = {457, 91, 79, 47,
37} \begin {gather*} \frac {2 d \sqrt {c+d x^2} \left (3 a^2 d^2-14 a b c d+35 b^2 c^2\right )}{105 b^2 \sqrt {a+b x^2} (b c-a d)^4}-\frac {\sqrt {c+d x^2} \left (3 a^2 d^2-14 a b c d+35 b^2 c^2\right )}{105 b^2 \left (a+b x^2\right )^{3/2} (b c-a d)^3}-\frac {a^2 \sqrt {c+d x^2}}{7 b^2 \left (a+b x^2\right )^{7/2} (b c-a d)}+\frac {2 a \sqrt {c+d x^2} (7 b c-4 a d)}{35 b^2 \left (a+b x^2\right )^{5/2} (b c-a d)^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 37
Rule 47
Rule 79
Rule 91
Rule 457
Rubi steps
\begin {align*} \int \frac {x^5}{\left (a+b x^2\right )^{9/2} \sqrt {c+d x^2}} \, dx &=\frac {1}{2} \text {Subst}\left (\int \frac {x^2}{(a+b x)^{9/2} \sqrt {c+d x}} \, dx,x,x^2\right )\\ &=-\frac {a^2 \sqrt {c+d x^2}}{7 b^2 (b c-a d) \left (a+b x^2\right )^{7/2}}+\frac {\text {Subst}\left (\int \frac {-\frac {1}{2} a (7 b c-a d)+\frac {7}{2} b (b c-a d) x}{(a+b x)^{7/2} \sqrt {c+d x}} \, dx,x,x^2\right )}{7 b^2 (b c-a d)}\\ &=-\frac {a^2 \sqrt {c+d x^2}}{7 b^2 (b c-a d) \left (a+b x^2\right )^{7/2}}+\frac {2 a (7 b c-4 a d) \sqrt {c+d x^2}}{35 b^2 (b c-a d)^2 \left (a+b x^2\right )^{5/2}}+\frac {\left (35 b^2 c^2-14 a b c d+3 a^2 d^2\right ) \text {Subst}\left (\int \frac {1}{(a+b x)^{5/2} \sqrt {c+d x}} \, dx,x,x^2\right )}{70 b^2 (b c-a d)^2}\\ &=-\frac {a^2 \sqrt {c+d x^2}}{7 b^2 (b c-a d) \left (a+b x^2\right )^{7/2}}+\frac {2 a (7 b c-4 a d) \sqrt {c+d x^2}}{35 b^2 (b c-a d)^2 \left (a+b x^2\right )^{5/2}}-\frac {\left (35 b^2 c^2-14 a b c d+3 a^2 d^2\right ) \sqrt {c+d x^2}}{105 b^2 (b c-a d)^3 \left (a+b x^2\right )^{3/2}}-\frac {\left (d \left (35 b^2 c^2-14 a b c d+3 a^2 d^2\right )\right ) \text {Subst}\left (\int \frac {1}{(a+b x)^{3/2} \sqrt {c+d x}} \, dx,x,x^2\right )}{105 b^2 (b c-a d)^3}\\ &=-\frac {a^2 \sqrt {c+d x^2}}{7 b^2 (b c-a d) \left (a+b x^2\right )^{7/2}}+\frac {2 a (7 b c-4 a d) \sqrt {c+d x^2}}{35 b^2 (b c-a d)^2 \left (a+b x^2\right )^{5/2}}-\frac {\left (35 b^2 c^2-14 a b c d+3 a^2 d^2\right ) \sqrt {c+d x^2}}{105 b^2 (b c-a d)^3 \left (a+b x^2\right )^{3/2}}+\frac {2 d \left (35 b^2 c^2-14 a b c d+3 a^2 d^2\right ) \sqrt {c+d x^2}}{105 b^2 (b c-a d)^4 \sqrt {a+b x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 3.67, size = 151, normalized size = 0.70 \begin {gather*} \frac {\sqrt {c+d x^2} \left (-35 b^3 c^2 x^4 \left (c-2 d x^2\right )+7 a^3 d \left (8 c^2-4 c d x^2+3 d^2 x^4\right )-7 a b^2 c x^2 \left (4 c^2-37 c d x^2+4 d^2 x^4\right )+a^2 b \left (-8 c^3+200 c^2 d x^2-101 c d^2 x^4+6 d^3 x^6\right )\right )}{105 (b c-a d)^4 \left (a+b x^2\right )^{7/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.17, size = 241, normalized size = 1.11
method | result | size |
gosper | \(\frac {\sqrt {d \,x^{2}+c}\, \left (6 a^{2} b \,d^{3} x^{6}-28 a \,b^{2} c \,d^{2} x^{6}+70 b^{3} c^{2} d \,x^{6}+21 a^{3} d^{3} x^{4}-101 a^{2} b c \,d^{2} x^{4}+259 a \,b^{2} c^{2} d \,x^{4}-35 c^{3} b^{3} x^{4}-28 a^{3} c \,d^{2} x^{2}+200 a^{2} b \,c^{2} d \,x^{2}-28 a \,b^{2} c^{3} x^{2}+56 a^{3} c^{2} d -8 a^{2} b \,c^{3}\right )}{105 \left (b \,x^{2}+a \right )^{\frac {7}{2}} \left (a^{4} d^{4}-4 a^{3} b c \,d^{3}+6 a^{2} b^{2} c^{2} d^{2}-4 a \,b^{3} c^{3} d +b^{4} c^{4}\right )}\) | \(213\) |
default | \(\frac {\left (6 a^{2} b \,d^{3} x^{6}-28 a \,b^{2} c \,d^{2} x^{6}+70 b^{3} c^{2} d \,x^{6}+21 a^{3} d^{3} x^{4}-101 a^{2} b c \,d^{2} x^{4}+259 a \,b^{2} c^{2} d \,x^{4}-35 c^{3} b^{3} x^{4}-28 a^{3} c \,d^{2} x^{2}+200 a^{2} b \,c^{2} d \,x^{2}-28 a \,b^{2} c^{3} x^{2}+56 a^{3} c^{2} d -8 a^{2} b \,c^{3}\right ) \sqrt {d \,x^{2}+c}}{105 \sqrt {b \,x^{2}+a}\, \left (a d -b c \right ) \left (b^{3} x^{6}+3 a \,b^{2} x^{4}+3 a^{2} b \,x^{2}+a^{3}\right ) \left (a^{3} d^{3}-3 a^{2} b c \,d^{2}+3 a \,b^{2} c^{2} d -b^{3} c^{3}\right )}\) | \(241\) |
elliptic | \(\frac {\sqrt {\left (b \,x^{2}+a \right ) \left (d \,x^{2}+c \right )}\, \sqrt {d \,x^{2}+c}\, \left (6 a^{2} b \,d^{3} x^{6}-28 a \,b^{2} c \,d^{2} x^{6}+70 b^{3} c^{2} d \,x^{6}+21 a^{3} d^{3} x^{4}-101 a^{2} b c \,d^{2} x^{4}+259 a \,b^{2} c^{2} d \,x^{4}-35 c^{3} b^{3} x^{4}-28 a^{3} c \,d^{2} x^{2}+200 a^{2} b \,c^{2} d \,x^{2}-28 a \,b^{2} c^{3} x^{2}+56 a^{3} c^{2} d -8 a^{2} b \,c^{3}\right )}{105 \sqrt {b \,x^{2}+a}\, \sqrt {b d \,x^{4}+a d \,x^{2}+c \,x^{2} b +a c}\, \left (b^{3} x^{6}+3 a \,b^{2} x^{4}+3 a^{2} b \,x^{2}+a^{3}\right ) \left (a^{4} d^{4}-4 a^{3} b c \,d^{3}+6 a^{2} b^{2} c^{2} d^{2}-4 a \,b^{3} c^{3} d +b^{4} c^{4}\right )}\) | \(285\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 451 vs.
\(2 (193) = 386\).
time = 3.35, size = 451, normalized size = 2.08 \begin {gather*} \frac {{\left (2 \, {\left (35 \, b^{3} c^{2} d - 14 \, a b^{2} c d^{2} + 3 \, a^{2} b d^{3}\right )} x^{6} - 8 \, a^{2} b c^{3} + 56 \, a^{3} c^{2} d - {\left (35 \, b^{3} c^{3} - 259 \, a b^{2} c^{2} d + 101 \, a^{2} b c d^{2} - 21 \, a^{3} d^{3}\right )} x^{4} - 4 \, {\left (7 \, a b^{2} c^{3} - 50 \, a^{2} b c^{2} d + 7 \, a^{3} c d^{2}\right )} x^{2}\right )} \sqrt {b x^{2} + a} \sqrt {d x^{2} + c}}{105 \, {\left (a^{4} b^{4} c^{4} - 4 \, a^{5} b^{3} c^{3} d + 6 \, a^{6} b^{2} c^{2} d^{2} - 4 \, a^{7} b c d^{3} + a^{8} d^{4} + {\left (b^{8} c^{4} - 4 \, a b^{7} c^{3} d + 6 \, a^{2} b^{6} c^{2} d^{2} - 4 \, a^{3} b^{5} c d^{3} + a^{4} b^{4} d^{4}\right )} x^{8} + 4 \, {\left (a b^{7} c^{4} - 4 \, a^{2} b^{6} c^{3} d + 6 \, a^{3} b^{5} c^{2} d^{2} - 4 \, a^{4} b^{4} c d^{3} + a^{5} b^{3} d^{4}\right )} x^{6} + 6 \, {\left (a^{2} b^{6} c^{4} - 4 \, a^{3} b^{5} c^{3} d + 6 \, a^{4} b^{4} c^{2} d^{2} - 4 \, a^{5} b^{3} c d^{3} + a^{6} b^{2} d^{4}\right )} x^{4} + 4 \, {\left (a^{3} b^{5} c^{4} - 4 \, a^{4} b^{4} c^{3} d + 6 \, a^{5} b^{3} c^{2} d^{2} - 4 \, a^{6} b^{2} c d^{3} + a^{7} b d^{4}\right )} x^{2}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{5}}{\left (a + b x^{2}\right )^{\frac {9}{2}} \sqrt {c + d x^{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 1036 vs.
\(2 (193) = 386\).
time = 0.65, size = 1036, normalized size = 4.77 \begin {gather*} \frac {4 \, {\left (35 \, \sqrt {b d} b^{10} c^{5} d - 119 \, \sqrt {b d} a b^{9} c^{4} d^{2} + 150 \, \sqrt {b d} a^{2} b^{8} c^{3} d^{3} - 86 \, \sqrt {b d} a^{3} b^{7} c^{2} d^{4} + 23 \, \sqrt {b d} a^{4} b^{6} c d^{5} - 3 \, \sqrt {b d} a^{5} b^{5} d^{6} - 245 \, \sqrt {b d} {\left (\sqrt {b x^{2} + a} \sqrt {b d} - \sqrt {b^{2} c + {\left (b x^{2} + a\right )} b d - a b d}\right )}^{2} b^{8} c^{4} d + 588 \, \sqrt {b d} {\left (\sqrt {b x^{2} + a} \sqrt {b d} - \sqrt {b^{2} c + {\left (b x^{2} + a\right )} b d - a b d}\right )}^{2} a b^{7} c^{3} d^{2} - 462 \, \sqrt {b d} {\left (\sqrt {b x^{2} + a} \sqrt {b d} - \sqrt {b^{2} c + {\left (b x^{2} + a\right )} b d - a b d}\right )}^{2} a^{2} b^{6} c^{2} d^{3} + 140 \, \sqrt {b d} {\left (\sqrt {b x^{2} + a} \sqrt {b d} - \sqrt {b^{2} c + {\left (b x^{2} + a\right )} b d - a b d}\right )}^{2} a^{3} b^{5} c d^{4} - 21 \, \sqrt {b d} {\left (\sqrt {b x^{2} + a} \sqrt {b d} - \sqrt {b^{2} c + {\left (b x^{2} + a\right )} b d - a b d}\right )}^{2} a^{4} b^{4} d^{5} + 630 \, \sqrt {b d} {\left (\sqrt {b x^{2} + a} \sqrt {b d} - \sqrt {b^{2} c + {\left (b x^{2} + a\right )} b d - a b d}\right )}^{4} b^{6} c^{3} d - 714 \, \sqrt {b d} {\left (\sqrt {b x^{2} + a} \sqrt {b d} - \sqrt {b^{2} c + {\left (b x^{2} + a\right )} b d - a b d}\right )}^{4} a b^{5} c^{2} d^{2} + 42 \, \sqrt {b d} {\left (\sqrt {b x^{2} + a} \sqrt {b d} - \sqrt {b^{2} c + {\left (b x^{2} + a\right )} b d - a b d}\right )}^{4} a^{2} b^{4} c d^{3} + 42 \, \sqrt {b d} {\left (\sqrt {b x^{2} + a} \sqrt {b d} - \sqrt {b^{2} c + {\left (b x^{2} + a\right )} b d - a b d}\right )}^{4} a^{3} b^{3} d^{4} - 770 \, \sqrt {b d} {\left (\sqrt {b x^{2} + a} \sqrt {b d} - \sqrt {b^{2} c + {\left (b x^{2} + a\right )} b d - a b d}\right )}^{6} b^{4} c^{2} d + 140 \, \sqrt {b d} {\left (\sqrt {b x^{2} + a} \sqrt {b d} - \sqrt {b^{2} c + {\left (b x^{2} + a\right )} b d - a b d}\right )}^{6} a b^{3} c d^{2} - 210 \, \sqrt {b d} {\left (\sqrt {b x^{2} + a} \sqrt {b d} - \sqrt {b^{2} c + {\left (b x^{2} + a\right )} b d - a b d}\right )}^{6} a^{2} b^{2} d^{3} + 455 \, \sqrt {b d} {\left (\sqrt {b x^{2} + a} \sqrt {b d} - \sqrt {b^{2} c + {\left (b x^{2} + a\right )} b d - a b d}\right )}^{8} b^{2} c d + 105 \, \sqrt {b d} {\left (\sqrt {b x^{2} + a} \sqrt {b d} - \sqrt {b^{2} c + {\left (b x^{2} + a\right )} b d - a b d}\right )}^{8} a b d^{2} - 105 \, \sqrt {b d} {\left (\sqrt {b x^{2} + a} \sqrt {b d} - \sqrt {b^{2} c + {\left (b x^{2} + a\right )} b d - a b d}\right )}^{10} d\right )}}{105 \, {\left (b^{2} c - a b d - {\left (\sqrt {b x^{2} + a} \sqrt {b d} - \sqrt {b^{2} c + {\left (b x^{2} + a\right )} b d - a b d}\right )}^{2}\right )}^{7} {\left | b \right |}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.02, size = 336, normalized size = 1.55 \begin {gather*} \frac {\sqrt {b\,x^2+a}\,\left (\frac {x^6\,\left (21\,a^3\,d^4-95\,a^2\,b\,c\,d^3+231\,a\,b^2\,c^2\,d^2+35\,b^3\,c^3\,d\right )}{105\,b^4\,{\left (a\,d-b\,c\right )}^4}-\frac {x^4\,\left (7\,a^3\,c\,d^3-99\,a^2\,b\,c^2\,d^2-231\,a\,b^2\,c^3\,d+35\,b^3\,c^4\right )}{105\,b^4\,{\left (a\,d-b\,c\right )}^4}+\frac {8\,a^2\,c^3\,\left (7\,a\,d-b\,c\right )}{105\,b^4\,{\left (a\,d-b\,c\right )}^4}+\frac {2\,d^2\,x^8\,\left (3\,a^2\,d^2-14\,a\,b\,c\,d+35\,b^2\,c^2\right )}{105\,b^3\,{\left (a\,d-b\,c\right )}^4}+\frac {4\,a\,c^2\,x^2\,\left (7\,a^2\,d^2+48\,a\,b\,c\,d-7\,b^2\,c^2\right )}{105\,b^4\,{\left (a\,d-b\,c\right )}^4}\right )}{x^8\,\sqrt {d\,x^2+c}+\frac {a^4\,\sqrt {d\,x^2+c}}{b^4}+\frac {4\,a\,x^6\,\sqrt {d\,x^2+c}}{b}+\frac {6\,a^2\,x^4\,\sqrt {d\,x^2+c}}{b^2}+\frac {4\,a^3\,x^2\,\sqrt {d\,x^2+c}}{b^3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________